package com.t194.service;

import com.t194.entity.User;
import com.t194.util.PageResult;
import com.t194.util.UserDto;

import java.util.List;

public interface UserService {
    void grant(Integer userId, Integer roleId);
    List<User> searchAll();
    PageResult searchPagination(Integer offset, Integer limit, UserDto dto);
    User login(String userCode);
}
